from django.urls import path
from . import views

app_name = 'interactions'

urlpatterns = [
    # 故事点赞和收藏
    path('stories/<int:story_id>/like', views.like_story, name='like_story'),
    path('stories/<int:story_id>/bookmark', views.bookmark_story, name='bookmark_story'),
    
    # 评论管理
    path('stories/<int:story_id>/comments', views.get_story_comments, name='story_comments'),
    path('stories/<int:story_id>/comments/add', views.add_comment, name='add_comment'),
    path('stories/<int:story_id>/comments/<int:comment_id>', views.delete_comment, name='delete_comment'),
    path('stories/<int:story_id>/comments/<int:comment_id>/like', views.like_comment, name='like_comment'),
]
